﻿<UserControl x:Class="CoTime.View.UCTdt"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:my="clr-namespace:CoTime"
             mc:Ignorable="d" Height="790" Width="600">
    <UserControl.Resources>
        <Style x:Key="IconTooltip" TargetType="{x:Type ToolTip}">
            <Setter Property="HorizontalOffset" Value="10"/>
            <Setter Property="VerticalOffset" Value="5"/>
            <Setter Property="Background" Value="LightBlue"/>
            <Setter Property="Foreground" Value="Gray"/>
            <Setter Property="FontSize" Value="14"/>
        </Style>
        <Style x:Key="LabelStyle" TargetType="{x:Type Label}">
            <Setter Property="Height" Value="30"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="FontFamily" Value="Algerian"/>
            <Setter Property="FontSize" Value="18"/>
        </Style>
        <Style x:Key="MouseOverButtonStyle" TargetType="Button">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="BorderThickness" Value="0"/>
            <Setter Property="Height" Value="30"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="FontFamily" Value="Algerian"/>
            <Setter Property="FontSize" Value="18"/>
            <Setter Property="Padding" Value="0,3,0,0" />
            <Style.Triggers>
                <Trigger Property="IsMouseOver" Value="True">
                    <Setter Property="Background" Value="Beige" />
                </Trigger>
            </Style.Triggers>
        </Style>
    </UserControl.Resources>
    <WrapPanel DockPanel.Dock="Top"
               HorizontalAlignment="Left"
               VerticalAlignment="Top"
               Margin="0,0,0,0">
        <StackPanel Name="BrowseNavigator" Orientation="Horizontal" Cursor="Hand" MouseEnter="BrowseNavigatorMouseEnter" MouseLeave="BrowseNavigatorMouseLeave">
            <Image Name="Prev" Visibility="Hidden" Source="../Images/left.png" Width="24" Height="24" Margin="8,5,-5,0" MouseDown="PrevMouseDown" />
            <Label Name="ToDoToday" Content="-------- TO DO TODAY --------" Style="{StaticResource LabelStyle}" MouseDown="ToDoTodayMouseDown" />
            <Image Name="Next" Visibility="Hidden" Source="../Images/right.png" Width="24" Height="24" Margin="-7,5,0,0" MouseDown="NextMouseDown" />
        </StackPanel>
        
        <StackPanel DockPanel.Dock="Top"
                        HorizontalAlignment="Left"
                        Margin="0,0,0,0"
                        Name="stackPanel1"
                        VerticalAlignment="Top"
                        Orientation="Vertical"
                        my:EnterKeyTraversal.IsEnabled="True">
        </StackPanel>
        <Label Content="-------- Unplanned &amp; Urgent --------" Name="UILabelUnPlannedUrgent" Style="{StaticResource LabelStyle}" />
        <StackPanel DockPanel.Dock="Top"
                        HorizontalAlignment="Left"
                        Margin="0,0,0,0"
                        Name="stackPanel2"
                        VerticalAlignment="Top"
                        Orientation="Vertical" 
                        my:EnterKeyTraversal.IsEnabled="True">
        </StackPanel>
    </WrapPanel>
</UserControl>
